package dir1;

import java.util.LinkedList;

import luchbox.SHOP;

public class Select {
	private int shopid;
	private String exe;
	private String path;
	private LinkedList<String> outcome = new LinkedList<>();

	
	
	public LinkedList<String> getOutcome() {
		return outcome;
	}

	public void setOutcome(LinkedList<String> outcome) {
		this.outcome = outcome;
	}

	public String getExe() {
		SHOP sh = new SHOP();
		String data[][] = sh.select(shopid);
		System.out.println(shopid);
		for(int i=0 ; i<data.length ; i++){		
			for(int j=0 ; j<data[i].length ; j++){
				outcome.add(data[i][j]);
			}
		}
		path = "ok.jsp";
		return null;
	}

	public void setExe(String exe) {
		this.exe = exe;
	}

	public int getShopid() {
		return shopid;
	}

	public void setShopid(int shopid) {
		this.shopid = shopid;
	}
	

}
